package com.specificgroup.jira.plugin.acpro.action;

/**
 *
 * @author Ivan Holub
 */
public class WelcomeAction extends AcproActionSupport {

    private static final String NEXT_ACTION = "AcproLoadSettings!default.jspa";

    @Override
    protected String doExecute() throws Exception {
        if (!hasPermissions()) {
            return PERMISSION_VIOLATION_RESULT;
        }

        String redirect = getRedirect(NEXT_ACTION);
        return redirect;
    }
}
